package com.dingbaiji.dialog.customprogressdialog;

import android.app.Dialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        Dialog dialog=CustomProgressDialog.createLoadingDialog(MainActivity.this,"加载中。。。。。。。。。。");
        dialog.show();
    }
}
